setUniqueId

fun setUniqueId(uniqueId: Any)

Deprecated

This class is deprecated since 12.0.00 and will be removed in 14.00.00

Replace with

import com.moengage.core.analytics.MoEAnalyticsHelper
MoEAnalyticsHelper#setUniqueId

Set an Unique Identifier for the user.

Note: This API only accepts the below data-types:

String, Int, Long, Double

Parameters

uniqueId

identifier